package com.beidouin.sensortest;

import java.net.InetAddress;

public class sendthread implements Runnable{
    private final static String TAG = "My Runnable ===> ";
    private String msg;
    private  InetAddress pcadd;
    private  int port;
    public sendthread(String msg,InetAddress pcadd,int port) {
        super();
        this.msg=msg;
        this.pcadd=pcadd;
        this.port=port;
        //String add = pcadd.toString();

    }
    @Override
    public void run() {
            UDPClient client = new UDPClient(msg,pcadd,port);
            client.send();
    }
}

